package com.lixn.homework.service;

import com.lixn.homework.pojo.Article;
import com.lixn.homework.util.PageUtils;

public interface ArticleService {

    /**
     * 查询博客数据
     * @param pageNum 要查询的页码
     * @param pageSize 要查询的数据条数
     * @return
     * @throws Exception
     */
    public PageUtils<Article> findByCondition(int pageNum, int pageSize) throws Exception;
}
